package com.sc.myspringbootmo.service.impl;

import com.sc.myspringbootmo.pojo.Drafts;
import com.sc.myspringbootmo.dao.IDraftsDao;
import com.sc.myspringbootmo.service.IDraftsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author svblack
 * @since 2025-09-23 03:36:11
 */
@Service
public class DraftsServiceImpl extends ServiceImpl<IDraftsDao, Drafts> implements IDraftsService {
    @Autowired
    IDraftsDao draftsDao;
    @Override
    public Boolean add(Drafts drafts) {
        return draftsDao.add(drafts);
    }
}
